Vendidero\Shiptastic\Order D

Total Complexity 266
Dependencies 20
Dependents 2
Total lines 1,458
Lines of code 909
Logical lines of code 486
Comment lines 294
Methods 64
Properties 4

Methods 64

Method Rating Maintainability Complexity Lines of code
create_shipments()
B
35 19 84
get_item_quantity_left_for_shipping()
A
46 14 38
get_pickup_delivery_args()
A
44 13 45
validate_shipment_item_quantities()
A
45 13 40
get_package_data()
A
42 12 51
get_shipping_status()
A
49 13 31
get_available_items_for_shipment()
A
48 10 34
get_item_quantity_left_for_returning()
A
50 10 29
get_shipments()
A
47 9 36
get_available_items_for_return()
A
49 8 30
get_returnable_items()
A
53 8 21
get_return_status()
S
58 6 16
calculate_shipment_additional_total()
S
56 5 18
save()
S
58 5 16
get_shipment_position_number()
S
58 5 14
get_shippable_items()
S
59 5 13
get_builtin_shipping_method()
S
60 5 13
order_item_is_non_returnable()
S
61 5 12
validate_shipments()
S
56 4 20
needs_shipping()
S
55 4 20
get_date_shipped()
S
57 4 18
get_non_returnable_items()
S
59 4 13
get_item_quantity_sent_by_order_item_id()
S
61 4 13
supports_pickup_location()
S
61 4 12
has_auto_packing()
S
62 4 12
get_default_return_shipping_provider()
S
62 4 11
needs_return()
S
58 3 17
get_last_shipment_without_tracking()
S
63 4 10
has_local_pickup()
S
61 3 12
remove_shipment()
S
62 3 11
get_order_item_product()
S
67 3 7
has_shipped_shipments()
S
66 3 9
get_simple_shipment_item()
S
67 3 8
supports_third_party_email_transmission()
S
67 3 7
get_last_shipment_with_tracking()
S
63 3 10
is_shipped()
S
72 3 4
get_shipment()
S
65 3 9
item_needs_shipping()
S
61 2 13
item_needs_return()
S
61 2 13
get_shippable_item_count()
S
68 2 7
get_pickup_location_customer_number()
S
68 2 7
get_shippable_item_quantity()
S
65 2 8
get_returnable_item_count()
S
67 2 7
__call()
S
70 2 6
get_last_tracking_id()
S
68 2 7
delete_order_return_request_key()
S
77 1 4
get_pickup_location_code()
S
74 1 4
get_id()
S
81 1 3
get_min_age()
S
75 1 4
get_available_items_for_packing()
S
79 1 3
get_shipment_count()
S
79 1 3
get_simple_shipments()
S
68 1 8
get_pickup_location_address()
S
73 1 4
get_return_shipments()
S
68 1 8
get_order_return_request_key()
S
80 1 3
has_pickup_location()
S
74 1 4
get_shipping_provider()
S
80 1 3
get_shipping_method()
S
73 1 5
add_shipment()
S
73 1 5
get_order()
S
82 1 3
get_items_to_pack_left_for_shipping()
S
75 1 4
get_selectable_items_for_shipment()
S
78 1 3
get_selectable_items_for_return()
S
78 1 3
__construct()
S
81 1 3